package com.modelclient.app.test;


import com.modelclient.baselib.model.MineDataBean;
import com.modelclient.baselib.view.BasePresenter;
import com.modelclient.baselib.view.BaseView;

/**
 * 作者：sean
 * 创建时间：2017/7/18 19:10
 * 功能说明：
 */

public interface MineContract {

    interface View extends BaseView {
        void getCustomerInfoSuccess(MineDataBean mineDataBean);
        void getCustomerInfoFailed(String msg);
        void logout();
        void logoutFailed(String msg);
        void cancelSuccess();
        void cancelFailed(String msg);
    }

    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {
        }

        public abstract void getCustomerInfo();
        public abstract void logout();
        public abstract void cancelSubscribe(String eventId);
    }
}